home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / iconmenu.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  1KB  |  35 lines

  1. #ifndef __ICON_MENU_H_
  2. #define __ICON_MENU_H_
  3.  
  4. #include "choicebx.h"
  5.  
  6. class IconMenu : public ChoiceBox
  7.     {
  8.     protected:
  9.     int itemType;
  10.     public:
  11.     IconMenu(rect coordinates, char* fName = "", char* h = "",
  12.            char* HOT = NULL, int POS = 1, int START = 1,
  13.            int ITEMTYPE = SMALL_ICON,
  14.            int* ITEMLIST = NULL, loc ITEMDISTANCE = loc(1, 0),
  15.            rect STATUSPOS = rect(0, 0, 79, 25),
  16.            int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
  17.            int* STATUSLIST = NULL,
  18.            int res = FIXED, int s = 0, BORDERS b_type = SHOW_BORDER,
  19.            BORDERS hdr_b_type = SHOW_BORDER, int pat = 0,
  20.            int hdr_pat = 0)
  21.         :  ChoiceBox(coordinates, fName, h, HOT, POS, START,
  22.            loc(1, 1), NULL, ITEMLIST, ITEMDISTANCE,
  23.            STATUSPOS, STATUSTYPE, STATUSSTRINGS, STATUSLIST,
  24.            res, s, b_type, hdr_b_type, pat, hdr_pat)
  25.            {
  26.            itemType = ITEMTYPE;
  27.            calcConsts();
  28.            }
  29.  
  30.     virtual void calcItemsNumber();
  31.     virtual void showItem();
  32.         virtual void show();
  33.     };
  34.  
  35. #endif __ICON_MENU_H_